﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="searchMovie.aspx.cs" Inherits="searchMovie" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>搜索视频</title>
<!-- #include file="head.htm"-->
    <link href="css/docinapi.css" rel="stylesheet" type="text/css" />
</head>
<body>

<!-- #include file="header.htm"-->

<div class="wapper">

<!--main-->
<div class="main clear">
	

    <!--side-->
	<!-- #include file="quicklink.htm"-->
    <!--side end-->

	<div class="content">	
	<!--overview-col-->
	<div class="overview-col">
	<asp:Repeater ID="Repeater1" runat="server">            
         <ItemTemplate>
	        <h3>
	        <span >
	             <%# DataBinder.Eval(Container.DataItem, "viewnum")%>：
	            <a  href="player.aspx?id=<%# DataBinder.Eval(Container.DataItem,"id") %>" target="docin_p_end">
					<%# DataBinder.Eval(Container.DataItem,"name_cn") %>
				</a>
			</span>
	        </h3>
	        <dl>	        
	        <dd><%# DataBinder.Eval(Container.DataItem,"remark") %></dd>
	        <dd><div style=" text-align:right;">发布时间：<%# DataBinder.Eval(Container.DataItem,"created_at") %></div></dd>
	        </dl>
	       </ItemTemplate>
     </asp:Repeater>		
	</div>
	<!--overview-col end-->	
	</div> 	
</div>
<!--main end-->
 <div id="feny">
       <ul><!-- 上一页 -->
       
            <% 
                for (int i = 1; i <= pages; i++) 
               {
                   if (i == page)
                   {
                        %><li><a style="color: rgb(255, 255, 255);" class="current_ss" href="#"><%=i.ToString()%></a></li><%
                   }
                   else
                   {
                       string u = page_url.Replace("[i]", i.ToString());
                        %><li><a href="<%=u %>"><%=i.ToString()%></a></li><%
                   }
               } 
            %>	      
        <!-- 下一页 -->
    	    <% 
                if (page == pages)
                {
                     %><li><a href="#">&gt;</a></li><%
                }
                else
                {
                    int cp = page + 1;
                    string scp = cp.ToString();
                    string u2 = page_url.Replace("[i]", scp);
                    %><li><a href="<%=u2 %>">&gt;</a></li><%
                }
    	     %>
	        
    		
        </ul>
    </div>
</div>

<!-- #include file="footer.htm"-->

</body>
</html>
